/*
 * GetCarriageListResponse.java
 * business
 *
 * Created by ChenTao on 2017/2/15.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;
import com.yidiandao.business.data.bean.ShippingWayAdapter;
import com.yidiandao.business.data.net.BaseResponse;

import java.util.List;

/**
 * 获取所有店铺的配送方式的Response
 *
 * <p>Created by ChenTao(chentao7v@gmail.com) on 2017/2/15 16:40
 */
public class GetShippingWayListResponse extends BaseResponse {

    @SerializedName("data")
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {

        @SerializedName("shipping_info")
        private List<ShippingWayInfo> mShippingWayInfoList;

        public List<ShippingWayInfo> getShippingWayInfoList() {
            return mShippingWayInfoList;
        }

        public void setShippingWayInfoList(List<ShippingWayInfo> shippingWayInfoList) {
            this.mShippingWayInfoList = shippingWayInfoList;
        }
    }

    public static class ShippingWayInfo {

        @SerializedName("supplier_id")
        private String supplierId;

        @SerializedName("supplier_name")
        private String supplierName;

        @SerializedName("goods_thumb")
        private List<String> goodsThumbs;

        @SerializedName("shipping_list")
        private List<ShippingWayAdapter> mShippingWayList;

        public String getSupplierId() {
            return supplierId;
        }

        public void setSupplierId(String supplierId) {
            this.supplierId = supplierId;
        }

        public String getSupplierName() {
            return supplierName;
        }

        public void setSupplierName(String supplierName) {
            this.supplierName = supplierName;
        }

        public List<String> getGoodsThumbs() {
            return goodsThumbs;
        }

        public void setGoodsThumbs(List<String> goodsThumbs) {
            this.goodsThumbs = goodsThumbs;
        }

        public List<ShippingWayAdapter> getShippingWayList() {
            return mShippingWayList;
        }

        public void setShippingWayList(List<ShippingWayAdapter> shippingWayList) {
            this.mShippingWayList = shippingWayList;
        }
    }
}
